Skip to content

VIA 685: NextJS and Node version upgrade#584

Open
kieran-broomhall-nhs wants to merge 23 commits intomainfrom
via-685
Open

VIA 685: NextJS and Node version upgrade#584
kieran-broomhall-nhs wants to merge 23 commits intomainfrom
via-685

Conversation

@kieran-broomhall-nhs
Copy link
Copy Markdown
Contributor

Description

Updated NextJS and Node versions

Context

This change is required as Next JS is going out of support towards the end of the year.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have manually tested my changes
  • I have updated the documentation accordingly (if required)

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@kieran-broomhall-nhs kieran-broomhall-nhs marked this pull request as ready for review March 30, 2026 16:20
@kieran-broomhall-nhs kieran-broomhall-nhs requested a review from a team as a code owner March 30, 2026 16:20
}

if ((await config.IS_APIM_AUTH_ENABLED) && isNodeJsRuntime) {
if (await config.IS_APIM_AUTH_ENABLED) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means that in the middleware (which is called proxy.ts now IIRC) we will attempt to refresh the token, which we wouldn't have done before?

"@opennextjs/aws": "^3.9.8",
"@types/aws-lambda": "^8.10.161",
"axios": "^1.13.6",
"axios": "^1.14.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mentioned about pinning the axios version, good time to do it now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants